package com.ztgf.user.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.ztgf.user.models.dto.UserLoginDTO;
import com.ztgf.user.models.vo.UserLoginVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.ArrayList;

/**
 * 用户登录表映射
 *
 * @author zhanghualang
 * @Date 2020-05-28 17:42:53
 */
@Mapper
public interface UserLoginMapper extends BaseMapper<UserLoginDTO> {
    /**
     * 根据店铺ID, 店铺类型，获取店铺主账号信息
     * @param shopId
     * @param type
     * @return
     */
    ArrayList<UserLoginVO> queryPageListByShop(@Param("shopId") Long shopId, @Param("type") Integer type);
}
